-----------------------------------
-- Area: Windurst Woods
-- NPC: Quesse
-- Standard Merchant NPC
-- Working 100%
-----------------------------------

require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end; 

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)
	
player:showText(npc,QUESSE_SHOP_DIALOG);

stock = {0x034D,1150,1,	 --Black Chocobo Feather

		 0x439B,9,2,	 --Dart

		 0x11C1,62,3,	 --Gysahl Greens
		 0x0348,7,3,	 --Chocobo Feather
		 0x4278,11,3,	 --Pet Food Alpha Biscuit
		 0x4279,82,3,	 --Pet Food Beta Biscuit
		 0x45C4,82,3,	 --Carrot Broth
		 0x45C6,695,3,	 --Bug Broth
		 0x45C8,126,3,	 --Herbal Broth
		 0x45CA,695,3,	 --Carrion Broth
		 0x13D1,50784,3} --Scroll of Chocobo Mazurka
 
showNationShop(player, WINDURST, stock);
end; 

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;



